﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace E2_WEBSITE.Code.CASE
{
    public class CaseController
    {
        public List<string> GetListProductByManufactureName(string sManufactureName)
        {
            CaseDataAccess cda = new CaseDataAccess();
            return cda.GetListProductbyManufactureName(sManufactureName);
        }

        public int GetProIDByManuAndProName(string sManuName,string sProductName)
        {
            CaseDataAccess cda = new CaseDataAccess();
            return cda.GetCaseIDByManufactureNameAndProName(sManuName, sProductName);
        }
    }
}
